/*
 * @Author: Mr · Lei
 * @Date: 2024-10-17 10:51:31
 * @LastEditors: OBKoro1
 * @LastEditTime: 2024-10-17 10:51:31
 * @FilePath: \ruituan-tuan-web\src\router\routes\modules\nfc.ts
 * @Description: 
 * 
 * Copyright (c) 2024 by 四川开局红科技有限公司, All Rights Reserved. 
 */
import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';

const NFC: AppRouteRecordRaw = {
  path: '/nfc',
  name: 'nfc',
  component: DEFAULT_LAYOUT,
  meta: {
    locale: 'menu.nfc',
    requiresAuth: true,
    icon: 'icon-paste',
    order: 0,
    hideInMenu: true
  },
  children: [
    {
      path: 'nfc-order',
      name: 'nfc-order',
      component: () => import('@/views/nfc/nfc-order/index.vue'),
      meta: {
        locale: 'menu.nfc.order',
        requiresAuth: true,
        roles: ['*'],
        hideInMenu: true
      },
    },
    {
      path: 'nfc-income-log',
      name: 'nfc-income-log',
      component: () => import('@/views/nfc/nfc-income-log/index.vue'),
      meta: {
        locale: 'menu.nfc.log',
        requiresAuth: true,
        roles: ['*'],
        hideInMenu: true
      },
    },
    {
      path: 'nfc-config',
      name: 'nfc-config',
      component: () => import('@/views/nfc/nfc-config/index.vue'),
      meta: {
        locale: 'menu.nfc.config',
        requiresAuth: true,
        roles: ['*'],
        hideInMenu: true
      },
    }
  ],
};

export default NFC;
